package com.venta.autopartes.user;

import java.util.ArrayList;
import java.util.List;

public class PhoneContact {
	private List<Phone> phoneList=new ArrayList<Phone>();
	
	public PhoneContact(){
		Phone phone1= new Phone();
		Phone phone2= new Phone();
		Phone phone3= new Phone();
		Phone phone4= new Phone();
		Phone phone5= new Phone();
		
		phoneList.add(phone1);
		phoneList.add(phone2);
		phoneList.add(phone3);
		phoneList.add(phone4);
		phoneList.add(phone5);
	}

	public List<Phone> getPhoneList() {
		return phoneList;
	}

	public void setPhoneList(List<Phone> phoneList) {
		for(int i=phoneList.size()+1;i<6;i++){
			Phone phone= new Phone();
			phoneList.add(phone);
		}
		this.phoneList = phoneList;
	}
	
	/*private List<Phone> workPhoneList;
	private List<Phone> homePhoneList;
	private List<Phone> cellPhoneList;
	private List<Phone> faxNumberList;
	public List<Phone> getWorkPhoneList() {
		return workPhoneList;
	}
	public void setWorkPhoneList(List<Phone> workPhoneList) {
		this.workPhoneList = workPhoneList;
	}
	public List<Phone> getHomePhoneList() {
		return homePhoneList;
	}
	public void setHomePhoneList(List<Phone> homePhoneList) {
		this.homePhoneList = homePhoneList;
	}
	public List<Phone> getCellPhoneList() {
		return cellPhoneList;
	}
	public void setCellPhoneList(List<Phone> cellPhoneList) {
		this.cellPhoneList = cellPhoneList;
	}
	public List<Phone> getFaxNumberList() {
		return faxNumberList;
	}
	public void setFaxNumberList(List<Phone> faxNumberList) {
		this.faxNumberList = faxNumberList;
	}*/
	
	
}
